package com.ws.exer8;

public class CircleTest {
    public static void main(String[] args) {
        Circle circle = new Circle(2.3);
        Circle circle1 = new Circle("white", 2.3, 3.3);


        System.out.println("颜色是否相等：" + circle.getColor().equals(circle1.getColor()));

        System.out.println("半径是否相等：" + circle.equals(circle1));

        System.out.println(circle);
    }
}
